mainApp.service('xieyiService', ['$resource',function ($resource){
    //协议内容
    this.getXy = function(xyType, success, error){
    	return $resource(baseUrl + "/dapi/magreement/getXy/"+xyType).get( success, error);
    };
    
}]);

